package com.shangqing.system.droughtinformation.service.impl;

import com.shangqing.system.droughtinformation.entity.DistrictDrought;
import com.shangqing.system.droughtinformation.mapper.DistrictDroughtMapper;
import com.shangqing.system.droughtinformation.service.IdistrictDroughtService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class DistrictDroughtImpl implements IdistrictDroughtService {
    @Autowired
    private DistrictDroughtMapper districtDroughtMapper;

    @Override
    public List<DistrictDrought> getinfo() {
        return districtDroughtMapper.getinfo();
    }
}
